package com.demo.xj_plane;

import com.demo.xj_plane.controller.XjSelfObsTask;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@MapperScan("com.demo.*.dao")
public class XjPlaneApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(XjPlaneApplication.class, args);
        context.getBean(XjSelfObsTask.class).myTask();
    }

}
